package com.roadjava.rbac.bean.vo;

import lombok.Data;

import java.util.List;

@Data
public class UserVO {
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 姓名
     */
    private String realName;
    /**
     * 性别,M:男F:女
     * @see com.roadjava.rbac.enums.SexEnum
     */
    private String sex;
    /**
     * 头像存放路径,格式如:resources/type/20230523/123.jpg
     */
    private String avatarPath;

    private String email;

    private String phone;

    private String password;


    private List<RoleVO> roles;
}
